package com.suzhiliang.springbootlesson;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
//SpringBoot为我们内置了@Scheduled定时任务，
// 下面我们就来配置下这个注解，
// 添加注解@EnableScheduling
@EnableScheduling
public class SpringbootlessonApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootlessonApplication.class, args);
    }
}
